package com.lei.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class QuickController {
    @RequestMapping("quick2")
    public ModelAndView save2(){
        ModelAndView modelAndView=new ModelAndView();
        modelAndView.setViewName("succeed");
        return modelAndView;
    }

    @RequestMapping("quick")
    public String save(){
        System.out.println("save running.....");
        return "succeed";
    }
}
